home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / eft100.arc / TESTARC.BTM < prev    next >
Text File  |  1991-07-03  |  820b  |  25 lines

  1. @echo off
  2. rem THIS IS A 4DOS BATCH!
  3. iff      (%@ext[%1]) == (ZIP) then^x:\dos\arc\pkunzip /t %1^
  4. else iff (%@ext[%1]) == (LZH) then^x:\dos\arc\lha t -m %1^
  5. else iff (%@ext[%1]) == (ICE) then^x:\dos\arc\lha t -m %1^
  6. else iff (%@ext[%1]) == (ARJ) then^x:\dos\arc\arj t -yi %1^
  7. else iff (%@ext[%1]) == (DWC) then^x:\dos\arc\dwc t! %1^
  8. else iff (%@ext[%1]) == (PAK) then^x:\dos\arc\pak t %1^
  9. else iff (%@ext[%1]) == (SDN) then^x:\dos\arc\pak t %1^
  10. else iff (%@ext[%1]) == (ARC) then^x:\dos\arc\arc tw %1^
  11. else iff (%@ext[%1]) == (HYP) then^x:\dos\arc\hyper -xo %1 c:\tmp^
  12. else iff (%@ext[%1]) == (ZOO) then^x:\dos\arc\zoo -test %1^
  13. endiff
  14. if errorlevel 2 goto bad
  15. if "%2" == "21" goto pd
  16. if "%2" GE "15" goto notpd
  17. :pd
  18. call archead p! %1
  19. goto weiter
  20. :notpd
  21. call archead c! %1
  22. :weiter
  23. dir > good
  24. :bad
  25.